package com.zzy.j1114iocdemo.facade;

public class LightFacade {
    LivingRoomLight livingRoomLight = new LivingRoomLight();
    HallLight hallLight = new HallLight();
    BedRoomLight bedRoomLight = new BedRoomLight();
    void on(){
        System.out.println("打开所有的灯");
    }
    void off(){
        System.out.println("关闭所有的灯");
    }
}
